/*
 * (#)FASRole.java 1.0  2013年7月10日 GMT+08:00
 */
package com.lingmengnj.models;


/**
 * @author 凌蒙
 * @version V1.0, 2013年7月10日 GMT+08:00
 * @since JDK1.6
 */
public class FASRole extends BaseEntry<Long> {
	private String roleCode;
	private String roleName;
	private String roleDesc;
	private String groupname;
	
	public boolean equals(Object anObject) {
		if (null == anObject) {
			return false;
		}
		if (this == anObject) {
			return true;
		}
		if (anObject instanceof FASRole) {
			FASRole anotherRole = (FASRole) anObject;
			String anRoleCode = anotherRole.getRoleCode();
			if (this.roleCode!=null && this.roleCode.equals(anRoleCode)) {
				return true;
			}
		}
		return false;
	}


	public String getRoleCode() {
		return roleCode;
	}


	public void setRoleCode(String roleCode) {
		this.roleCode = roleCode;
	}


	public String getRoleName() {
		return roleName;
	}


	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}


	public String getRoleDesc() {
		return roleDesc;
	}


	public void setRoleDesc(String roleDesc) {
		this.roleDesc = roleDesc;
	}


	public String getGroupname() {
		return groupname;
	}


	public void setGroupname(String groupname) {
		this.groupname = groupname;
	}

}
